package rs.ac.uns.ftn.informatika.mbs2.e11031.etaksi.dao;

import java.io.Serializable;
import java.util.List;

public interface GenerickiDao<T, Id extends Serializable> {

	public Class<T> getEntitetskaKlasa();

	public T pronadjiPoId(Id id);

	public List<T> pronadjiSve();

	public List<T> pronadjiPo(String upit);

	public T sacuvaj(T entitet);

	public T stopi(T entitet);

	public void ukloni(T entitet);

	public void posalji();

	public void ocisti();

}
